package simpleftp.ftp;

/**
 * List of all the command allowed to be used on the FTP server
 */
public enum Command {
	CONNECT("CONNECT"), DISCONNECT("DISCONNECT"), CLEAR("CLEAR"), SAVEPREFS(
			"SAVEPREFS"), LOADPREFS("LOADPREFS"), DELPREF("DELPREF"), PWD("PWD"), CPWD("CPWD"), LIST(
			"LIST"), CWD("CWD"), CSD("CSD"), PASV("PASV"), RETR("RETR"), STOR("STOR"), QUIT(
			"QUIT");

	private final String name;

	private Command(String pName) {
		name = pName;
	}

	public String getName() {
		return name;
	}
}
